package com.tianji.aigc.agent;

import com.tianji.aigc.config.SystemPromptConfig;
import com.tianji.aigc.enums.AgentTypeEnum;
import lombok.RequiredArgsConstructor;
import org.springframework.ai.chat.client.advisor.api.Advisor;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

import static org.springframework.ai.chat.client.advisor.AbstractChatMemoryAdvisor.CHAT_MEMORY_CONVERSATION_ID_KEY;

/**
 * @author Administrator
 * @version 1.0
 * @description: TODO
 * @date 2025/7/24 12:27
 */
@Component
@RequiredArgsConstructor
public class RouteAgent extends AbstractAgent{
    private final SystemPromptConfig systemPromptConfig;

    /**
     * 1、大模型提示词
     *
     * @return 提示词
     */
    @Override
    public String systemMessage() {
        return systemPromptConfig.getRouteAgentSystemMessage().get();
    }

    /**
     * 10、获取智能体类型
     *
     * @return
     */
    @Override
    public AgentTypeEnum getAgentType() {
        return AgentTypeEnum.ROUTE;
    }
}
